<template>
  <div>
    <button @click="childMethod()">点击</button>
  </div>
</template>
<script>
export default {
  methods: {
    childMethod() {
      this.$parent.fatherMethod();
    }
  }
};
</script>